using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using QLKS.DTO;

namespace QLKS.DAO
{
    
    public class NhanVien_DAO
    {
        clsQLKS obj = new clsQLKS();

        //lay danh dach nhan vien
        public DataTable NhanVien_Load()
        {
            return obj.GetData("NhanVien");
        }

        //lay nv dataset
        public DataSet GetNV()
        {
            return obj.GetData_DataSet("NhanVien");
        }

        //kiem tra ma nhan vien duoc nhap vao
        public Boolean CheckNhanVien(NhanVien_DTO nv)
        {
            return obj.CheckNhanVien(nv);
        }

    }
}
